//首页图表1 的模拟数据请求
export const apiCharts1 = ()=> {
    return new Promise(resolve => {
        let obj = {}

        setTimeout(()=> {
            resolve(obj)
        })
    })
}


export const apiCharts2 = ()=> {
    return new Promise((resolve)=> {
        let obj = {
            legendData: ['上海','广州','重庆','西安','杭州'],
            seriesData: [
                { value: 1048, name: '上海' },
                { value: 735, name: '广州' },
                { value: 580, name: '重庆' },
                { value: 484, name: '西安' },
                { value: 300, name: '杭州' }
            ]
        }
        setTimeout(()=> {
            resolve(obj)
        })
    })
}